<script type="text/javascript">
$(document).ready(function() {
	user.validate();

});
</script>
<form method="post" id="editUserForm"
	action="${basePath}/system/user/save">
	<div class="main_Receipt_table" id="base">
	<input type="hidden" name="id" value="${userInfo.id!}" />
		<div class="main_Receipt_table_m">
			<table id="editUserTable" border="0" cellspacing="0" cellpadding="0">
				<tbody>
					<tr>
						<th style="width: 30%;" scope="row"><@spring.message code='user.fullname'/><span
							class="color_red">*</span></th>
						<td style="width: 70%;"><input id="editFullName" type="text" name="name"
							value="${userInfo.name!}" /></td>
					</tr>
					<#if !userInfo.id??>
 					<tr>
						<th style="width: 30%;" scope="row"><@spring.message code='user.username'/><span
							class="color_red">*</span></th>
						<td style="width: 70%;"><input id="editUserName" type="text" name="username" <#if userInfo.id??>readonly="readonly" </#if>
							value="${userInfo.username!}" /></td>
					</tr>
					<th style="width: 30%;" scope="row"><@spring.message code='user.password'/><span
						class="color_red">*</span></th>
					<td style="width: 70%;">
						<input id="editPassword" type="password" name="password" value="" />
					</td>
					</tr>
					<tr>
						<th style="width: 30%;" scope="row"><@spring.message code='user.confirm_password'/><span
							class="color_red">*</span></th>
						<td style="width: 70%;"><input id="confirmPassword" type="password" name="repassword"
							value="" /></td>
					</tr>
					</#if>
					<tr>
						<th style="width: 30%;" scope="row"><@spring.message code='user.mobilePhone'/></th>
						<td style="width: 70%;"><input id="editMobliePhone" type="text" name="mobilePhone"
							value="${userInfo.mobilePhone!}" /></td>
					</tr>
					<tr>
						<th style="width: 30%;" scope="row"><@spring.message code='user.email'/></th>
						<td style="width: 70%;"><input id="editEMail" type="text" name="email"
							value="${userInfo.email!}" /></td>
					</tr>
					<tr>
						<th style="width: 30%;" scope="row"><@spring.message code='user.status'/><span
							class="color_red">*</span></th>
						<td style="width: 70%;">
							<input type="radio" name="status" class="xm_zh_receiptradio"value="1" <#if userInfo.status != "0">checked="checked"</#if>><@spring.message code='radio.valid'/>&nbsp;</input> 
							<input type="radio" name="status"  class="xm_zh_receiptradio" value="0" <#if userInfo.status == "0">checked="checked"</#if>><@spring.message code='radio.invalid'/></input>
						</td>
						
					</tr>
					<#-- 系统支持对象存储时可选 -->
					<#if SUPPORT_OBJECT?? && SUPPORT_OBJECT == "1">
					<tr>
						<th style="width: 30%;" scope="row">开通网盘<span
							class="color_red">*</span></th>
						<td style="width: 70%;">
							<input type="radio" name="netdisk" class="xm_zh_receiptradio"value="1" <#if userInfo.netdisk != "0">checked="checked"</#if>>是&nbsp;&nbsp;</input> 
							<input type="radio" name="netdisk"  class="xm_zh_receiptradio" value="0" <#if userInfo.netdisk == "0">checked="checked"</#if>>否</input>
						</td>
						
					</tr>
					</#if>
				</tbody>
			</table>
		</div>
	</div>
</form>
